FROM python:3.5
MAINTAINER ibopo@126.com

ENV PATH /usr/local/bin:$PATH

ADD ./pip.conf /root/.pip/pip.conf
ADD ./requirements.txt /root/requirements.txt
# ADD . /var/lib/scrapyd

RUN pip install -r /root/requirements.txt

WORKDIR /var/lib/scrapyd

CMD /usr/local/bin/scrapyd
